declare @i int
set @i = 0
while @i < 200
begin
	insert into store values ('Store Name ' + cast(@i as varchar(20)))
	set @i = @i + 1
end

select * from store


declare @i int
set @i = 0
while @i < 5000
begin
	insert into product values ('Product Name ' + cast(@i as varchar(20)))
	set @i = @i + 1
end

select * from product


insert into productrangestatus (storeId, productId, status, range)
select storeId, productId, 'status', 'range' + cast(productId as varchar(20))
from store cross join product